package com.olah.common.entity.dto.request.user;

import lombok.Data;

@Data
public class SearchUserInfo {

    // 用户名
    private String name;

    // 电话号码
    private String tel;

    // QQ
    private String qq;

    // 微信
    private String wechat;

    // 电子邮箱
    private String email;

    // 强项
    private String goodness;

    public void setName(String name) {
        this.name = "%" + name + "%";
    }

    public void setTel(String tel) {
        this.tel = "%" + tel + "%";
    }

    public void setQq(String qq) {
        this.qq = "%" + qq + "%";
    }

    public void setWechat(String wechat) {
        this.wechat = "%" + wechat + "%";
    }

    public void setEmail(String email) {
        this.email = "%" + email + "%";
    }
}
